package com.authine.cloudpivot.ext.service.contract;

import com.authine.cloudpivot.ext.dto.model.contract.ContractServiceFeeTemplate;

import java.math.BigDecimal;

public interface ContractServiceFeeTemplateService {

    /**
     * 更新代购服务费模板，并对修改字段做记录
     * @param template
     */
    void update(ContractServiceFeeTemplate template);

    BigDecimal getContractServiceFee(String organizationId, BigDecimal amount, int days);

}
